package com.taobao.api.request;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;
import java.util.Map;

import com.taobao.api.ApiRuleException;
import com.taobao.api.BaseTaobaoRequest;
import com.taobao.api.internal.util.TaobaoHashMap;
import com.taobao.api.internal.util.json.JSONWriter;
import com.taobao.api.response.TmallNrNoticeGoodsReadyResponse;

/**
 * TOP API: tmall.nr.notice.goods.ready request
 * 
 * @author top auto create
 * @since 1.0, 2018.07.25
 */
public class TmallNrNoticeGoodsReadyRequest extends BaseTaobaoRequest<TmallNrNoticeGoodsReadyResponse> {
	
	

	/** 
	* 入参
	 */
	private String param0;

	public void setParam0(String param0) {
		this.param0 = param0;
	}

	public void setParam0(NrZqsGoodsReadyReqDto param0) {
		this.param0 = new JSONWriter(false,true).write(param0);
	}

	public String getParam0() {
		return this.param0;
	}

	public String getApiMethodName() {
		return "tmall.nr.notice.goods.ready";
	}

	public Map<String, String> getTextParams() {		
		TaobaoHashMap txtParams = new TaobaoHashMap();
		txtParams.put("param0", this.param0);
		if(this.udfParams != null) {
			txtParams.putAll(this.udfParams);
		}
		return txtParams;
	}

	public Class<TmallNrNoticeGoodsReadyResponse> getResponseClass() {
		return TmallNrNoticeGoodsReadyResponse.class;
	}

	public void check() throws ApiRuleException {
	}
	
	/**
 * 入参
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class NrZqsGoodsReadyReqDto extends TaobaoObject {

	private static final long serialVersionUID = 4887751496412442287L;

	/**
		 * 业务标识dds，zqs等
		 */
		@ApiField("biz_identity")
		private String bizIdentity;
		/**
		 * 淘宝交易订单号
		 */
		@ApiField("biz_order_id")
		private Long bizOrderId;
		/**
		 * 经销商的姓名
		 */
		@ApiField("dealer_name")
		private String dealerName;
		/**
		 * 经销商的电话
		 */
		@ApiField("dealer_phone")
		private String dealerPhone;
		/**
		 * 提货码
		 */
		@ApiField("outer_got_code")
		private String outerGotCode;
		/**
		 * 配送人员姓名
		 */
		@ApiField("performer_name")
		private String performerName;
		/**
		 * 配送人员电话号码
		 */
		@ApiField("performer_phone")
		private String performerPhone;
		/**
		 * 卖家的sellerId
		 */
		@ApiField("seller_id")
		private Long sellerId;
		/**
		 * 可选参数，编码
		 */
		@ApiField("trace_id")
		private String traceId;
	

	public String getBizIdentity() {
			return this.bizIdentity;
		}
		public void setBizIdentity(String bizIdentity) {
			this.bizIdentity = bizIdentity;
		}
		public Long getBizOrderId() {
			return this.bizOrderId;
		}
		public void setBizOrderId(Long bizOrderId) {
			this.bizOrderId = bizOrderId;
		}
		public String getDealerName() {
			return this.dealerName;
		}
		public void setDealerName(String dealerName) {
			this.dealerName = dealerName;
		}
		public String getDealerPhone() {
			return this.dealerPhone;
		}
		public void setDealerPhone(String dealerPhone) {
			this.dealerPhone = dealerPhone;
		}
		public String getOuterGotCode() {
			return this.outerGotCode;
		}
		public void setOuterGotCode(String outerGotCode) {
			this.outerGotCode = outerGotCode;
		}
		public String getPerformerName() {
			return this.performerName;
		}
		public void setPerformerName(String performerName) {
			this.performerName = performerName;
		}
		public String getPerformerPhone() {
			return this.performerPhone;
		}
		public void setPerformerPhone(String performerPhone) {
			this.performerPhone = performerPhone;
		}
		public Long getSellerId() {
			return this.sellerId;
		}
		public void setSellerId(Long sellerId) {
			this.sellerId = sellerId;
		}
		public String getTraceId() {
			return this.traceId;
		}
		public void setTraceId(String traceId) {
			this.traceId = traceId;
		}

}


}